Skip to content

Conversation

@ryanmrichard
Copy link
Member

Is this pull request associated with an issue(s)?
No.

Description
This PR enables basic composition (addition, subtraction, and multiplication) of shapes. In the process of enabling this I added/tweaked quite a bit of other infrastructure including:

  • DSLBase class for code factorization. ShapeBase, BufferBase, etc. will all interact with the DSL similarly and this mix-in should make it easier to enable the other class hierarchies in subsequent PRs.
  • DummyIndices are now stored in Labeled objects.
  • PairwiseParser is streamlined by relying on DSLBase.

This PR also removes some of the DSL work I did for the Tensor/Buffer classes because it is not implemented with the new infrastructure (I'll add it back in subsequent PRs).

TODOs
None. R2g.

@ryanmrichard ryanmrichard self-assigned this Jan 4, 2025
@ryanmrichard
Copy link
Member Author

Build issues fixed. R2g.

@ryanmrichard ryanmrichard merged commit 2c9a2f6 into master Jan 6, 2025
5 checks passed
@ryanmrichard ryanmrichard deleted the shape_dsl branch January 6, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants